﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace ZLDC.Common
{
    public class DataTableToString
    {
        public static string ToString(DataTable Dt)
        {
            StringBuilder text = new StringBuilder();
            foreach (DataRow row in Dt.Rows)
            {
                text.Append(row[0].ToString() + ',');
            }
            text.Length = text.Length - 1;

            return text.ToString();
        }
    }
}
